using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcContrib.UI.MenuBuilder;
using Controllers;

namespace DecisionMaking.WebApp
{
	public class Navigation
	{
		public static MenuItem MainMenu(UrlHelper url)
		{
			Menu.DefaultIconDirectory = url.Content("~/Content/");
			Menu.DefaultDisabledClass = "disabled";
			Menu.DefaultSelectedClass = "selected";
			return Menu.Begin(
				Menu.Action<HomeController>(c => c.Index(), "Home"),
				Menu.Action<EnvironmentsController>(c => c.Index(), "My Environments")
			);
		}
	}
}

